package com.edu.service;

import com.edu.bean.Book;

import java.util.List;

public interface BookService {
    int addBook(Book book);

    int deleteBook(int bookId);

    List<Book> getBookByNameAndTypeAndWriter(Book book);

    List<Book> getAllBook();

    int updateBook(Book book);
}
